package demo;

import java.io.Serial;
import java.io.Serializable;

public class Animal implements Serializable {
    String name;
    Integer age;

    @Serial
    public Object readResolve(){
        return new String("12345");
    }
}
